import java.util.Scanner;

public class Add {
    public static int add(int n1,int n2) {
        return n1+n2;
    }

    public static double add(double d1,double d2,double d3) {
        return d1+d2+d3;
    }
    public static void main(String[] args) {
        System.out.println(add(1,2));
        System.out.println(add(2.3,5.5,8.9));


    }
}
